const name = 'ken';

const getData = (type) => {
  return new Promise((resolve, reject) => {
    resolve(type)
  });
};

document.getElementById('jio').innerText = '123';

// function* foo() {}
// async function abs() {
//   const data = await getData(123);
//   console.log(12, data);
// }

// abs();